home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1993 December
/
PSL Monthly Shareware CD-ROM (December 1993).iso
/
prgmming
/
dos
/
c
/
xmmlrg.exe
/
XMM.H
< prev
next >
Wrap
C/C++ Source or Header
|
1991-08-02
|
1KB
|
39 lines
/*
* XMS Driver C Interface Routine Definitions
*
* Copyright (c) 1988, Microsoft Corporation
*/
struct XMM_Move {
unsigned long Length;
unsigned short SourceHandle;
unsigned long SourceOffset;
unsigned short DestHandle;
unsigned long DestOffset;
};
unsigned XMM_Installed(void);
long XMM_Version(void);
long XMM_RequestHMA(unsigned Space_Needed);
long XMM_ReleaseHMA(void);
long XMM_GlobalEnableA20(void);
long XMM_GlobalDisableA20(void);
long XMM_EnableA20(void);
long XMM_DisableA20(void);
long XMM_QueryA20(void);
long XMM_QueryLargestFree(void);
long XMM_QueryTotalFree(void);
long XMM_AllocateExtended(unsigned SizeK);
long XMM_FreeExtended(unsigned Handle);
long XMM_MoveExtended(struct XMM_Move *pMoveDescription);
long XMM_LockExtended(unsigned Handle);
long XMM_UnLockExtended(unsigned Handle);
long XMM_GetHandleLength(unsigned Handle);
long XMM_GetHandleInfo(unsigned Handle);
long XMM_ReallocateExtended(unsigned Handle, unsigned NewSizeK);
long XMM_RequestUMB(unsigned SizeP);
long XMM_ReleaseUMB(unsigned Segment);
#define XMSERROR(x) (char)((x)>>24)